







![]() ![]() ![]() |
.NET Framework Class Library |
ConcurrentDictionary<(Of <(TKey, TValue>)>) Methods |
ConcurrentDictionary<(Of <(TKey, TValue>)>) Class See Also Send Feedback |
The ConcurrentDictionary<(Of <(TKey, TValue>)>) type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddOrUpdate | Overloaded. |
![]() | Clear |
Removes all keys and values from the ConcurrentDictionary<(Of <(TKey, TValue>)>).
|
![]() | ContainsKey |
Determines whether the ConcurrentDictionary<(Of <(TKey, TValue>)>) contains the specified
key.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the ConcurrentDictionary<(Of <(TKey, TValue>)>). |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetOrAdd | Overloaded. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToArray |
Copies the key and value pairs stored in the ConcurrentDictionary<(Of <(TKey, TValue>)>) to a
new array.
|
![]() | ToString | (Inherited from Object.) |
![]() | TryAdd |
Attempts to add the specified key and value to the ConcurrentDictionary<(Of <(TKey, TValue>)>).
|
![]() | TryGetValue |
Attempts to get the value associated with the specified key from the ConcurrentDictionary<(Of <(TKey, TValue>)>).
|
![]() | TryRemove |
Attempts to remove and return the the value with the specified key from the
ConcurrentDictionary<(Of <(TKey, TValue>)>).
|
![]() | TryUpdate |
Compares the existing value for the specified key with a specified value, and if they’re equal,
updates the key with a third value.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Add | |
![]() ![]() | IDictionary<(Of <(TKey, TValue>)>)..::.Add |
Adds the specified key and value to the IDictionary<(Of <(TKey, TValue>)>).
|
![]() ![]() | IDictionary..::.Add |
Adds the specified key and value to the dictionary.
|
![]() ![]() | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Contains | |
![]() ![]() | IDictionary..::.Contains |
Gets whether the IDictionary<(Of <(TKey, TValue>)>) contains an
element with the specified key.
|
![]() ![]() | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.CopyTo | |
![]() ![]() | ICollection..::.CopyTo |
Copies the elements of the ICollection to an array, starting
at the specified array index.
|
![]() ![]() | IDictionary..::.GetEnumerator | Provides an IDictionaryEnumerator for the
IDictionary<(Of <(TKey, TValue>)>). |
![]() ![]() | IEnumerable..::.GetEnumerator | Returns an enumerator that iterates through the ConcurrentDictionary<(Of <(TKey, TValue>)>). |
![]() ![]() | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Remove | |
![]() ![]() | IDictionary<(Of <(TKey, TValue>)>)..::.Remove |
Removes the element with the specified key from the IDictionary<(Of <(TKey, TValue>)>).
|
![]() ![]() | IDictionary..::.Remove |
Removes the element with the specified key from the IDictionary.
|